From 2b517bd80ef2a5fce2829f92352a6712a96315ca Mon Sep 17 00:00:00 2001 From: Hilko Bengen Date: Sat, 14 Feb 2015 14:17:09 +0100 Subject: [PATCH] Generate tarballs for supermin appliance using reproducible timestamp Gbp-Pq: Name 0004-Generate-tarballs-for-supermin-appliance-using-repro.patch --- appliance/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/appliance/Makefile.am b/appliance/Makefile.am index d8fb15b8..a4447123 100644 --- a/appliance/Makefile.am +++ b/appliance/Makefile.am @@ -79,7 +79,7 @@ supermin.d/daemon.tar.gz: ../daemon/guestfsd guestfs_lvm_conf.aug guestfs_shadow ln ../daemon/guestfsd tmp-d$(DAEMON_SUPERMIN_DIR)/guestfsd ln $(srcdir)/guestfs_lvm_conf.aug tmp-d/usr/share/guestfs/guestfs_lvm_conf.aug ln $(srcdir)/guestfs_shadow.aug tmp-d/usr/share/guestfs/guestfs_shadow.aug - ( cd tmp-d && tar zcf - * ) > $@-t + ( cd tmp-d && tar --mtime=$(abs_top_srcdir)/ChangeLog -zcf - * ) > $@-t rm -r tmp-d mv $@-t $@ @@ -100,7 +100,7 @@ supermin.d/hostfiles: hostfiles.in Makefile supermin.d/init.tar.gz: init rm -f $@ $@-t - ( cd $(srcdir) && tar zcf - init ) > $@-t + ( cd $(srcdir) && tar --mtime=$(abs_top_srcdir)/ChangeLog -zcf - init ) > $@-t mv $@-t $@ # We should put this file in /lib/udev/rules.d, but put it in /etc so @@ -110,7 +110,7 @@ supermin.d/udev-rules.tar.gz: 99-guestfs-serial.rules rm -rf tmp-u mkdir -p tmp-u/etc/udev/rules.d for f in $^; do ln $$f tmp-u/etc/udev/rules.d/$$(basename $$f); done - ( cd tmp-u && tar zcf - etc ) > $@-t + ( cd tmp-u && tar --mtime=$(abs_top_srcdir)/ChangeLog -zcf - etc ) > $@-t rm -r tmp-u mv $@-t $@ -- 2.30.2